package com.wangrui.entity;

public class Article {
    private int userid;
    private String title;
    private String content;
    private String subject;//数据字段为enum，java类型可以为String或者Object，xml中jdbcType="OTHER"

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }
}
